import Advice from '@/views/advice.vue'
import FindHome from '@/views/findHome.vue'
import Housing from '@/views/housing.vue'
import Layout from '@/views/layout.vue'
import My from '@/views/my.vue'
const routes = [
  {
    path: '/',
    component: Layout,
    redirect: '/findHome',
    children: [
      {
        path: 'findHome',
        component: FindHome,
      },
      {
        path: 'advice',
        component: Advice,
      },
      {
        path: 'housing',
        component: Housing,
      },
      {
        path: 'my',
        component: My,
      },
    ],
  },
]
export default routes
